package com._复习;

public class Test02 {
    public static void main(String[] args) {
        int a = 0;
        int[] arr = {68, 27, 95, 88, 171, 996, 51, 210};
        for (int i = 0; i < arr.length; i++) {
            if (arr[i] % 2 == 1 && arr[i] / 10 % 10 != 7 && arr[i] % 10 != 7) {
                a += arr[i];
            }
        }
        System.out.println(a);
    }
}
